<%@page import="com.kaishengit.entity.Prod"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="validate.jsp" %>
<html>
  <head>
    <title>My JSP 'index.jsp' starting page</title>
    <script type="text/javascript" src="js/jquery.js"></script>
  </head>
  
  <body>
	<h3><br></h3><h3>修改产品信息</h3>
	<%
		Prod prod =(Prod) request.getAttribute("prod");
	 %>
  	<form action="edit.jsp" id="myform" method="post">
  	<input type="hidden" name="id" value="<%=prod.getId()%>"/>
	prodName：<input type="text" name="name" value="<%=prod.getProdName()%>"/><br>
	price：<input type="text" name="price" value="<%=prod.getPrice()%>"/><br>
	<input type="submit" value="edit" id="btn">  		
  	</form>
  </body>
</html>
